namespace map2D {
	export interface IScene
	{
		canLinePass(ax:number,ay:number,bx:number,by:number,padding?:number,flag?:number):boolean;		
		canPass(x:number,y:number,flag?:number):number;		
		canGridPass(col:number,row:number,flag?:number):number;
		getRoute(stX:number,stY:number,endX:number,endY:number):number[];
		// findElementById(id:number,roleType:number):IRole;
		readonly mapGridCol:number;
		readonly mapGridRow:number;
		readonly mapX:number;
		readonly mapY:number;
		readonly gridSize:number;
		readonly sceneLayer:GYSprite;
		/**地图滚动的监听器*/
		readonly mapMoveListener:Listener;		
	}
}